package com.three_learn.star.project.j3.dataconfig.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/* *描述 ：
 *Author:28768
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_dept")
public class depDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    @TableField("parent_id")
    private  String parentId;
    @TableField("code")
    private String code;
    @TableField("name")
    private  String name;
    @TableField("level")
    private  Integer level;
    @TableField("ancestors")
    private  String ancestors;
    @TableField("leader")
    private  String leader;
    @TableField("phone")
    private String phone;
    @TableField("email")
    private  String email;
    @TableField("sort")
    private Integer sort;
    @TableField("status")
    private Integer status;
    @TableField("remark")
    private String remark;
    @TableField("create_by")
    private String createBy;
    @TableField("create_time")
    private String createTime;
    @TableField("update_time")
    private String updateTime;
    @TableField("del_flag")
    private String delFlag;
    @TableField("tenant_id")
    private String tenantId;
    @TableField("update_by")
    private String updateBy;
}
